package com.nuanshui.heatedloan.userinfo.form;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotBlank;

public class SendMsgForm {

	@NotBlank(message = "{valid.notBlank.message}")
	@Pattern(regexp = "^1((3|5|7|8)\\d)\\d{8}$", message = "{valid.mobile.message}")
	private String mobile;
	
	public String code;
	
	private String token;
	
	private Integer accountType;
	

	

	public Integer getAccountType() {
		return accountType;
	}

	public void setAccountType(Integer accountType) {
		this.accountType = accountType;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
	
	
}
